package ch7;

public class MyThread2 implements Runnable {
	// Thread.currentThread():当前线程
	@Override
	public void run() {
		for (int i = 1; i <= 20; i++)
			System.out.println(Thread.currentThread().getName() + ": This is run " + i);

	}

}
